package com.situ.mall.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("worker")
public class Worker implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String type;

    private String nickname;

    private String avatar;

    private String backgroundPic;

    private String tel;

    private String password;

    private String name;

    private String sex;

    private Integer age;

    private String idCardNumber;

    private String proBack;

    private String title;

    private String status; //0审核中；1审核通过；2审核未通过

    private String idPicFront;//身份证国徽面

    private String idPicBack;//身份证人像面

    private String workDay;//工龄

    private Integer memberId;//注册该陪诊员账号的用户账号id

    private String token; //JWT

}
